package com.ar4j.bench.common.domain;

import java.util.List;

/**
 * A composite of a category with its product and all items that belong to those products. Effectively represents
 * a category's catalog tree.
 */
public class CategoryWithProductsWithItems {
  private ICategory category;
  private List<ProductWithItems> products;
  
  public ICategory getCategory() {
    return category;
  }
  
  public void setCategory(ICategory category) {
    this.category = category;
  }
  
  public List<ProductWithItems> getProducts() {
    return products;
  }
  
  public void setProducts(List<ProductWithItems> products) {
    this.products = products;
  }
  
}
